﻿using System;
using System.Collections.Generic;
using System.Text;

namespace QuickOrm.Utils
{
    /// <summary>
    /// 已分页的列表
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class PagedList<T> : List<T>
    {
        /// <summary>
        /// 记录数量
        /// </summary>
        public Int32 RecordCount { get; set; }
        /// <summary>
        /// 页码(从1开始)
        /// </summary>
        public Int32 PageIndex { get; set; }
        /// <summary>
        /// 页大小
        /// </summary>
        public Int32 PageSize { get; set; }
    }
}
